#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "gamewindow.h"
#include "ui_gamewindow.h"
#include "rule.h"
#include "ui_rule.h"
#include <QMainWindow>

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
    void initScene();

private slots:
    void on_pushButton_3_clicked();

private:
    Ui::MainWindow *ui;
    GameWindow* game_page;
    rule* rule_page;
};
#endif // MAINWINDOW_H
